package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
* @author ly
* @since 2021-06-10
*/
@ApiModel(value ="")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OCCUPATION_BED_LOG")
public class OccupationBedLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private String id;

    @ApiModelProperty(value = "操作人名称")
    @ExcelProperty(value = "OPER_NAME")
    @TableField("OPER_NAME")
    private String operName;

    @ApiModelProperty(value = "操作人编码")
    @ExcelProperty(value = "OPER_CODE")
    @TableField("OPER_CODE")
    private String operCode;

    @ApiModelProperty(value = "入参")
    @ExcelProperty(value = "INPUT_PARAMETER")
    @TableField("INPUT_PARAMETER")
    private String inputParameter;

    @ApiModelProperty(value = "ip地址")
    @ExcelProperty(value = "IP")
    @TableField("IP")
    private String ip;

    @ApiModelProperty(value = "操作解释")
    @ExcelProperty(value = "OPERATION")
    @TableField("OPERATION")
    private String operation;

    @ApiModelProperty(value = "床号")
    @ExcelProperty(value = "BED_NO")
    @TableField("BED_NO")
    private String bedNo;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "占床表的主键")
    @ExcelProperty(value = "OCCUPATION_BED_ID")
    @TableField("OCCUPATION_BED_ID")
    private String occupationBedId;

    @ApiModelProperty("0 新增 1更改状态 2取消占床")
    @TableField("STATE")
    private String state;

}
